@f{scaleaxis}ΒΆ

Creates an axisscale depending on another diagram axis.

@f{scaleaxis(diagramname, scale_factor, add_offset, type}

Parameters

diagramname

Name of a diagram.

scale_factor

Scale factor

add_offset

Offset

type

Type of axis scale:

Value Meaning
exact Create the exact same number of labels.
round Create rounded.

Comment

The field function can only be used inside the axis title.

Example

To create a second x-axis that displays revolution per second add the following field function to the x axis title:

@f{scaleaxis(Diagram 1, 0.1666, 0, exact)}

where Diagram 1 is the diagram with the x-axis scaled in revolution per minute.

Output

x-Axis Diagram 1 [1/min] = 1000, 2000, 3000, 4000, 5000
x-Axis Diagram 2 [1/s] = 17, 33, 50, 67, 83

id-931350